package com.itouchtv.yang.parameters;

import java.util.HashMap;
import java.util.Objects;

public class Parameters {
    private static ThreadLocal<HashMap<String,Object>> parameters = new ThreadLocal<>();

    public static HashMap<String,Object> getParameters(){
        if (Objects.isNull(parameters.get())){
            parameters.set(new HashMap<>());
        }
        return parameters.get();
    }
}
